/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.acme.business;

import com.acme.model.Stock;
import com.acme.persistence.StockDao;
import java.util.List;

/**
 *
 * @author General
 */
public interface StockBusiness {
    void createStock(String symbol, String name, String sumary);

    void deleteStock(long stock_id);

    void updateStock(long stock_id, String symbol, String name, String sumary);

    Stock getStock(long stock_id);

    List<Stock> getAllStocks();

    void setStockDao(StockDao stockDao);

    List<Stock> findBySymbol(String symbol);
}
